package com.curry.livehelper.entity.api;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface IApiService {


    @RequestMapping("/query/job")
    Object getJobInfo(@RequestParam("cityName") String cityName,
                      @RequestParam("keyWord") String keyWord,
                      @RequestParam("channelId") String channelId,
                      @RequestParam("pageIndex") Integer pageIndex,
                      @RequestParam("pageSize") Integer pageSize);

    @RequestMapping("/start/job/task/{taskId}")
    Object immediatelyJobTask(@PathVariable("taskId") Integer taskId);

}
